class A extends B {get foo() {}}